package com.zjgsu.coursecalendar.repository;

import com.zjgsu.coursecalendar.model.Exam;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ExamRepository extends CrudRepository<Exam,Integer> {
    public List<Exam> findByUserId(Integer userid);
}
